home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.tip.net!usenet
- From: mikael.berglund@amiga.pp.se (Mikael Berglund)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: YASL (was: AsynchIO (was: fastest file read method ??))
- Date: 31 Jan 1996 17:29:36 GMT
- Organization: Uniplus Internet Access
- Message-ID: <2546.6603T1204T338@amiga.pp.se>
- References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <w+RYXMD4FC8aRz1@_crisi.blackbox.shnet.org> <4dsalp$t68@news1.halcyon.com>
- <4du0ju$84b@news.sdd.hp.com> <4e2e76$9k3@toad.stack.urc.tue.nl>
- <4e3j8v$jd0@news.sdd.hp.com> <4e7si4$ore@tuegate.tue.nl>
- <4e8asc$rht@news.sdd.hp.com> <1349.6599T1259T2701@amiga.pp.se> <4egkuh$j1q@news.sdd.hp.com>
- NNTP-Posting-Host: a711011.dial.tip.net
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- In a message 28-Jan-96 21:05:37 Jeff Grimmett <jgrimm@sdd.hp.com> wrote:
-
- JG> Fine. But at least if it's linked, it's in the same place. If/when I
- JG> decide that this program is a waste of electrons, simply deleting that
- JG> one program and/or its directory will take care of things, nice and tidy,
- JG> whereas if it sneaks a shared lib in on me, it'll still be there in the
- JG> year 2000, and I'll still be wondering how it got there.
-
- But this is not a fault of shared libraries but the programmer making a
- stupid install script. You can hardly blame the shared libraries for that.
- Why not use the log capability of installer or prior to installing new
- software count your libraries and then count them again after installation.
-
- Also, i have seen a program floating around that identifies libraries and
- tells you which libraries are used by what program(s). This would give you
- some hint of what libraries can relatively safely be removed.
-
- JG> Kinda negates having it in a shared library, then, doesn't it?
-
- Maybe, initially. But the fact is that that should be the desired behaviour
- and if i don't mistake myself too much it is stated so in official
- documentation.
-
- But if you have a link library how many programmers would be inclined to use
- it? :D
-
- JG> Irrelevant to my point, really. Whether the code is in an overlay, in
- JG> the program itself, or in BeepBop-a-ReeBop.library is irrelevant. If no
- JG> one else will be using the library, it serves no purpose than to confuse
- JG> things.
-
- Not if you are low on memory :D Remember that a program does not have to
- load all libraries directly but can use them whenever needed and then close
- them thus making more memory available. Whereas if the code is linked you
- have no way of dumping it even if it is not needed every time this program
- is executed.
-
- But then again, as the user you shouldn't have to care, this is a decision
- made by the programmer. The problem really is that you've stumbled over some
- bad installation scripts that have made you have to care.
-
- JG> I'd just like to see a little judgement used by developers, is all. If
- JG> there's no real compelling reason to put it in a library, it shouldn't
- JG> be. But, if you do, DOCUMENT IT and make the required files available to
- JG> other developers so that it is NOT a waste.
-
- Again, placing the code in a shared library PROBABLY stems from the fact
- that the programmer is thinking about reusing the code later.
-
- Can you see? I really LIKE shared libraries ;D
-
- --
- Regards TMB PGP public key available
-
-